using System;
using System.Collections.Generic;
using System.Text;

namespace DTO
{
    public class DauSachDTO
    {
        #region "Thuoc Tinh"
        //isbn, ma_tuasach, ngonngu, bia, trangthai
        private int _maDauSach;
        private int _maTuaSach;
        private string _ngonNgu;
        private string _bia;
        private string _trangThai;

        #endregion

        #region "Set & Get"

        public int MaDauSach
        {
            get { return _maDauSach; }
            set { _maDauSach = value; }
        }

        public int MaTuaSach
        {
            get { return _maTuaSach; }
            set { _maTuaSach = value; }
        }


        public string NgonNgu
        {
            get { return _ngonNgu; }
            set { _ngonNgu = value; }
        }


        public string Bia
        {
            get { return _bia; }
            set { _bia = value; }
        }


        public string TrangThai
        {
            get { return _trangThai; }
            set { _trangThai = value; }
        }
        #endregion

        #region "Phuong Thuc"
        public DauSachDTO()
        {
            MaDauSach = 0;
            MaTuaSach = 0;
            NgonNgu = "";
            Bia = "";
            TrangThai = "";
        }
        public DauSachDTO(int isbn, int matua, string nn, string b, string tt)
        {
            MaDauSach = isbn;
            MaTuaSach = matua;
            NgonNgu = nn;
            Bia = b;
            TrangThai = tt;
        }


        #endregion
    }
}
